package cn.wolfcode.designpattern.proxy;

/**
 * @author Leon
 * @date 2021/2/28
 */
public class Client {

    public static void main(String[] args) {
        IUserService userService = new LoginProxy(new UserServiceImpl());

        LoginController controller = new LoginController(userService);
        controller.login("root", "adn");
    }
}
